<?php
//disable magice quotes
if (get_magic_quotes_gpc()) {
    $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
    while (list($key, $val) = each($process)) {
        foreach ($val as $k => $v) {
            unset($process[$key][$k]);
            if (is_array($v)) {
                $process[$key][stripslashes($k)] = $v;
                $process[] = &$process[$key][stripslashes($k)];
            } else {
                $process[$key][stripslashes($k)] = stripslashes($v);
            }
        }
    }
    unset($process);
}
define('PRI_ADMIN','box1');
define('PRI_EDIT','box2');
define('PRI_SALE','box3');
define('PRI_BLOG','box4');

include_once("../inc/lib.function.php");
include_once('conn.php');
include_once('check.php');

include_once('../settings.php');
include_once("../inc/class.thumnail.php");
?>